package org.project.areader.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

/**
 * 
 * @author robin
 * @date 2011-3-21
 * 
 */
public class StartActivity extends BaseActivity implements OnClickListener
{

	private Button start, close;

	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.start);

		start = (Button) findViewById(R.id.start_startbutton);
		close = (Button) findViewById(R.id.start_closebutton);
		start.setOnClickListener(this);
		close.setOnClickListener(this);
	}

	public void onClick(View v)
	{

		if (v == start)
		{
			startActivity(new Intent(this, MainActivity.class));
		}
		finish();
	}
}